package com.flyco.modules.cms.service.impl;

import com.flyco.modules.cms.entity.CmsArticleV2Comment;
import com.flyco.modules.cms.mapper.CmsArticleV2CommentMapper;
import com.flyco.modules.cms.service.ICmsArticleV2CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 文章评论表
 * @Author: flyco
 * @Date:   2020-07-16
 * @Version: V1.0
 */
@Service
public class CmsArticleV2CommentServiceImpl extends ServiceImpl<CmsArticleV2CommentMapper, CmsArticleV2Comment> implements ICmsArticleV2CommentService {

    @Autowired
    private CmsArticleV2CommentMapper cmsArticleV2CommentMapper;

    @Override
    public List<CmsArticleV2Comment> selectByMainId(Long mainId) {
        return cmsArticleV2CommentMapper.selectByMainId(mainId);
    }

}
